#!/bin/bash

source venv/bin/activate


PROJ_HOME=$(pwd)
APP_NAME='certificate_manager'
PROJ_NAME='geexin_server'

alias test="${PROJ_HOME}/${PROJ_NAME}/manage.py test"

# alias tm="test ${APP_NAME}.tests.models"
# alias tr="test ${APP_NAME}.tests.restful"

alias gp="git push origin master"

# Django settings
export DJANGO_SETTINGS_MODULE='geexin_server.deploy_settings'

# export for MINIO support
export MINIO_SERVER_HOST=localhost
export MINIO_SERVER_ACCESS_KEY='test_access_key'
export MINIO_SERVER_SECRET_KEY='test_secret_key'
export MINIO_SERVER_BUCKET='geexin-certificates'
